<div class="main_left">
    <div class="menu" id="accordion">
        <ul>
            {volist name="menu" id="vo"}
            {if condition="$vo.is_show eq 1"}
            <li >
                <a  data-toggle="collapse" data-parent="#accordion" href="#level_{$vo.id}">
                    <i class="iconfont icon {$vo.css}"></i>
                    <span class="span1">{$vo.title}</span>
                    <span class="span2"><i class="iconfont icon-shouqi" style="display: none;"></i></span>
                </a>
                {notempty name="vo['child']"}
                <dl id="level_{$vo.id}" class="collapse ">
                    {volist name="vo['child']" id="sub"}
                    {if condition="$sub.is_show eq 1"}
                    <dd><a href="{$sub.url}" target="frame">{$sub.title}</a></dd>
                    {/if}
                    {/volist}
                </dl>
                {/notempty}
            </li>
            {/if}
            {/volist}


            <li >
                <a h data-toggle="collapse" data-parent="#accordion" href="#level_99" >
                    <i class="iconfont icon-wenzhang icon"></i>
                    <span class="span1">基础模板</span>
                    <span class="span2"><i class="iconfont icon-shouqi"></i></span>
                </a>
                <dl id="level_99" class="collapse">
                    <dd><a href="{:url('test/index')}" target="frame">列表页</a></dd>
                    <dd><a href="{:url('test/add')}" target="frame">添加页</a></dd>
                </dl>

            </li>
        </ul>
    </div>

</div>